fishbowl: Remove visibility handling
authorTimm Bäder <mail@baedert.org>
Sat, 6 Jun 2020 06:31:35 +0000 (08:31 +0200)
committerTimm Bäder <mail@baedert.org>
Fri, 19 Jun 2020 03:26:24 +0000 (05:26 +0200)
commit5eb181281a23aeb1b6c2ae5849eecca2937774b8
tree6491fecde128dccefbf19bc1bca1d97e10e128c5
parent9eaeb048635805ac6773404fee9a803e6a003cc0
fishbowl: Remove visibility handling

First, almost all widgets are either visible and mapped, or visible and
unmapped because they are !child_visible. In both cases, we do care
about the size. If they are indeed invisible, gtk_widget_measure() will
take care of that by returning all 0.

And gtk_widget_unparent() already queues a resize on the parent if
necessary, so that is unneeded as well.
demos/gtk-demo/gtkfishbowl.c